﻿using System;
using System.Runtime.Serialization;

namespace Pfz.RemoteGaming
{
	/// <summary>
	/// Exception created by the RemoteGameFramework.
	/// </summary>
	[Serializable]
	public class RemoteGameException:
		Exception
	{
		/// <summary>
		/// Only following the pattern for exception constructors.
		/// </summary>
		public RemoteGameException()
		{
		}

		/// <summary>
		/// Only following the pattern for exception constructors.
		/// </summary>
		public RemoteGameException(string message):
			base(message)
		{
		}

		/// <summary>
		/// Only following the pattern for exception constructors.
		/// </summary>
		public RemoteGameException(string message, Exception inner):
			base(message, inner)
		{
		}

		/// <summary>
		/// Only following the pattern for exception constructors.
		/// </summary>
		protected RemoteGameException(SerializationInfo info, StreamingContext context):
			base(info, context)
		{
		}
	}
}
